package Model

import (
	"time"
)

/*部门表*/
// 饼图
type DepartmentEmployee struct {
	Name  string `form:"name" json:"name"`
	Value int    `form:"value" json:"value"`
}

type APIDepartment struct {
	DepartmentName string `form:"department_name" json:"department_name"` //部门名称
}

type UniDepartment struct {
	DepartmentNumber   int    `form:"department_number" json:"department_number"`     //部门编号
	DepartmentName     string `form:"department_name" json:"department_name"`         //部门名称
	DepartmentType     string `form:"department_type" json:"department_type"`         //部门类型
	DepartmentHead     string `form:"department_head" json:"department_head"`         //部门主管员工编号
	Phone              string `form:"phone" json:"phone"`                             //部门电话
	Fax                string `form:"fax" json:"fax"`                                 //传真
	Describe           string `form:"describe" json:"describe"`                       //描述
	SuperiorDepartment string `form:"superior_department" json:"superior_department"` //上级部门
}

type RequestDepartment struct {
	UniDepartment
	IncorporationDate  string `form:"incorporation_date" json:"incorporation_date"`   //成立日期
}

type Department struct {
	UniDepartment
	IncorporationDate  time.Time `form:"incorporation_date" json:"incorporation_date"`   //成立日期
}
